Expanding storage capacity for implementing logical corruption protection

ABSTRACT

A computer-implemented method according to one aspect includes receiving a request to increase a size of a backup storage space for a storage volume; adding additional extents to the backup storage space in response to the request; identifying a current extent location within the backup storage space; determining whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilizing the additional extents added to the backup storage space, based on the determining.

BACKGROUND

The present invention relates to implementing logical corruption protection (LCP) for data, and more particularly, this invention relates to expanding storage capacity for implementing LCP.

In order to implement logical corruption protection (LCP) for data within a storage volume, a backup storage space may be created and used to store backups of data from the storage volume. For example, point-in-time snapshots of predetermined data within the storage volume may be created and may be stored within the backup storage space. These data backups may be used to restore data within the storage volume that is lost or corrupted.

However, currently, if an increase in a size of the backup storage space is desired, the backup storage space must first be deleted, along with all data backups stored in the backup storage space, and a replacement backup storage space having a greater size than the original may then be created. This not only necessitates a considerable amount of processing by the LCP implementation, but also leaves the storage volume vulnerable to data loss/corruption during the time period between the deletion of the original backup storage space and the storage of new data backups in the replacement backup storage space.

BRIEF SUMMARY

A computer-implemented method according to one aspect includes receiving a request to increase a size of a backup storage space for a storage volume; adding additional extents to the backup storage space in response to the request; identifying a current extent location within the backup storage space; determining whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilizing the additional extents added to the backup storage space, based on the determining.

In this way, a size of a backup storage space for a storage volume may be increased without having to first delete the entire backup storage space (and all stored data backups) and construct a new backup storage space with a new size. This may reduce an amount of processing necessary to expand the backup storage space, which may improve a performance of one or more tangible computing devices implementing such expansion.

In one aspect, the request is generated automatically based on a monitoring of parameters for the backup storage space and the storage volume, the parameters including a capacity usage threshold, a multiplier increment amount, and a multiplier limit.

According to another aspect, a computer program product for expanding storage capacity for implementing logical corruption protection includes a computer readable storage medium having program instructions embodied therewith, where the computer readable storage medium is not a transitory signal per se, and where the program instructions are executable by a processor to cause the processor to perform a method including receiving, by the processor, a request to increase a size of a backup storage space for a storage volume; adding, by the processor, additional extents to the backup storage space in response to the request; identifying, by the processor, a current extent location within the backup storage space; determining, by the processor, whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilizing, by the processor, the additional extents added to the backup storage space, based on the determining.

In one aspect, the current extent location is determined according to a rolling buffer methodology.

According to another aspect, a system includes a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, where the logic is configured to receive a request to increase a size of a backup storage space for a storage volume; add additional extents to the backup storage space in response to the request; identify a current extent location within the backup storage space; determine whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilize the additional extents added to the backup storage space, based on the determining.

According to another aspect, a computer-implemented method includes monitoring a current usage of a backup storage space for a storage volume; comparing the current usage to a capacity threshold; and conditionally increasing a size of the backup storage space, based on the comparing and a predetermined size limitation.

According to another aspect, a computer program product for automating management of a backup storage space includes a computer readable storage medium having program instructions embodied therewith, where the computer readable storage medium is not a transitory signal per se, and where the program instructions are executable by a processor to cause the processor to perform a method including monitoring, by the processor, a current usage of a backup storage space for a storage volume; comparing, by the processor, the current usage to a capacity threshold; and conditionally increasing, by the processor, a size of the backup storage space, based on the comparing and a predetermined size limitation.

In this way, a size of a backup storage space may be dynamically adjusted for a storage volume. This may ensure that the backup storage space is large enough to support a sufficient number of data backups for the storage volume as part of an LCP implementation. As a result, data protection of the storage volume from data corruption/loss may be ensured, which may further improve a performance of one or more tangible computing devices that utilize the storage volume.

Other aspects and embodiments of the present invention will become apparent from the following detailed description, which, when taken in conjunction with the drawings, illustrate by way of example the principles of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a cloud computing environment in accordance with one aspect of the present invention.

FIG. 2 depicts abstraction model layers in accordance with one aspect of the present invention.

FIG. 3 depicts a cloud computing node in accordance with one aspect of the present invention.

FIG. 4 illustrates a tiered data storage system in accordance with one aspect of the present invention.

FIG. 5 illustrates an exemplary safeguarded backup configuration in accordance with one aspect of the present invention.

FIG. 6 illustrates an exemplary CSM safeguarded copy session in accordance with one aspect of the present invention.

FIG. 7 illustrates an exemplary safeguarded copy configuration in accordance with one aspect of the present invention.

FIG. 8 illustrates a flowchart of a method for expanding storage capacity for implementing logical corruption protection, in accordance with one aspect of the present invention.

FIG. 9 illustrates a flowchart of a method for automating management of a backup storage space, in accordance with one aspect of the present invention.

FIG. 10 illustrates an exemplary expanded storage environment, in accordance with one aspect of the present invention.

DETAILED DESCRIPTION

The following description is made for the purpose of illustrating the general principles of the present invention and is not meant to limit the inventive concepts claimed herein. Further, particular features described herein can be used in combination with other described features in each of the various possible combinations and permutations.

Unless otherwise specifically defined herein, all terms are to be given their broadest possible interpretation including meanings implied from the specification as well as meanings understood by those skilled in the art and/or as defined in dictionaries, treatises, etc.

It must also be noted that, as used in the specification and the appended claims, the singular forms “a,” “an” and “the” include plural referents unless otherwise specified. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

The following description discloses several aspects of expanding storage capacity for implementing logical corruption protection.

In one general aspect, a computer-implemented method includes receiving a request to increase a size of a backup storage space for a storage volume; adding additional extents to the backup storage space in response to the request; identifying a current extent location within the backup storage space; determining whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilizing the additional extents added to the backup storage space, based on the determining.

In this way, a size of a backup storage space for a storage volume may be increased without having to first delete the entire backup storage space (and all stored data backups) and construct a new backup storage space with a new size. This may reduce an amount of processing necessary to expand the backup storage space, which may improve a performance of one or more tangible computing devices implementing such expansion.

In one general aspect, the request is generated automatically based on a monitoring of parameters for the backup storage space and the storage volume, the parameters including a capacity usage threshold, a multiplier increment amount, and a multiplier limit.

According to another general aspect, a computer program product for expanding storage capacity for implementing logical corruption protection includes a computer readable storage medium having program instructions embodied therewith, where the computer readable storage medium is not a transitory signal per se, and where the program instructions are executable by a processor to cause the processor to perform a method including receiving, by the processor, a request to increase a size of a backup storage space for a storage volume; adding, by the processor, additional extents to the backup storage space in response to the request; identifying, by the processor, a current extent location within the backup storage space; determining, by the processor, whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilizing, by the processor, the additional extents added to the backup storage space, based on the determining.

In one general aspect, the current extent location is determined according to a rolling buffer methodology.

According to another general aspect, a system includes a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, where the logic is configured to receive a request to increase a size of a backup storage space for a storage volume; add additional extents to the backup storage space in response to the request; identify a current extent location within the backup storage space; determine whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space; and conditionally utilize the additional extents added to the backup storage space, based on the determining.

According to another general aspect, a computer-implemented method includes monitoring a current usage of a backup storage space for a storage volume; comparing the current usage to a capacity threshold; and conditionally increasing a size of the backup storage space, based on the comparing and a predetermined size limitation.

According to another general aspect, a computer program product for automating management of a backup storage space includes a computer readable storage medium having program instructions embodied therewith, where the computer readable storage medium is not a transitory signal per se, and where the program instructions are executable by a processor to cause the processor to perform a method including monitoring, by the processor, a current usage of a backup storage space for a storage volume; comparing, by the processor, the current usage to a capacity threshold; and conditionally increasing, by the processor, a size of the backup storage space, based on the comparing and a predetermined size limitation.

In this way, a size of a backup storage space may be dynamically adjusted for a storage volume. This may ensure that the backup storage space is large enough to support a sufficient number of data backups for the storage volume as part of an LCP implementation. As a result, data protection of the storage volume from data corruption/loss may be ensured, which may further improve a performance of one or more tangible computing devices that utilize the storage volume.

It is to be understood that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, aspects of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.

Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

Characteristics are as follows:

On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.

Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.

Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency for both the provider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).

A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.

Referring now to FIG. 1, illustrative cloud computing environment 50 is depicted. As shown, cloud computing environment 50 includes one or more cloud computing nodes 10 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) or cellular telephone 54A, desktop computer 54B, laptop computer 54C, and/or automobile computer system 54N may communicate. Nodes 10 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof. This allows cloud computing environment 50 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types of computing devices 54A-N shown in FIG. 1 are intended to be illustrative only and that computing nodes 10 and cloud computing environment 50 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser).

Referring now to FIG. 2, a set of functional abstraction layers provided by cloud computing environment 50 (FIG. 1) is shown. It should be understood in advance that the components, layers, and functions shown in FIG. 2 are intended to be illustrative only and aspects of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided:

Hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; RISC (Reduced Instruction Set Computer) architecture based servers 62; servers 63; blade servers 64; storage devices 65; and networks and networking components 66. In some aspects, software components include network application server software 67 and database software 68.

Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.

In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.

Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and logical corruption protection (LCP) 96.

Referring now to FIG. 3, a schematic of an example of a cloud computing node is shown. Cloud computing node 10 is only one example of a suitable cloud computing node and is not intended to suggest any limitation as to the scope of use or functionality of aspects of the invention described herein. Regardless, cloud computing node 10 is capable of being implemented and/or performing any of the functionality set forth hereinabove.

In cloud computing node 10 there is a computer system/server 12, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.

Computer system/server 12 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 12 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.

As shown in FIG. 3, computer system/server 12 in cloud computing node 10 is shown in the form of a general-purpose computing device. The components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including system memory 28 to processor 16.

Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.

Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.

System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 18 by one or more data media interfaces. As will be further depicted and described below, memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of aspects of the invention.

Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules 42 generally carry out the functions and/or methodologies of aspects of the invention as described herein.

Computer system/server 12 may also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; one or more devices that enable a user to interact with computer system/server 12; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 22. Still yet, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

Now referring to FIG. 4, a storage system 400 is shown according to one aspect. Note that some of the elements shown in FIG. 4 may be implemented as hardware and/or software, according to various aspects. The storage system 400 may include a storage system manager 412 for communicating with a plurality of media on at least one higher storage tier 402 and at least one lower storage tier 406. The higher storage tier(s) 402 preferably may include one or more random access and/or direct access media 404, such as hard disks in hard disk drives (HDDs), nonvolatile memory (NVM), solid state memory in solid state drives (SSDs), flash memory, SSD arrays, flash memory arrays, etc., and/or others noted herein or known in the art. The lower storage tier(s) 406 may preferably include one or more lower performing storage media 408, including sequential access media such as magnetic tape in tape drives and/or optical media, slower accessing HDDs, slower accessing SSDs, etc., and/or others noted herein or known in the art. One or more additional storage tiers 416 may include any combination of storage memory media as desired by a designer of the system 400. Also, any of the higher storage tiers 402 and/or the lower storage tiers 406 may include some combination of storage devices and/or storage media.

The storage system manager 412 may communicate with the storage media 404, 408 on the higher storage tier(s) 402 and lower storage tier(s) 406 through a network 410, such as a storage area network (SAN), as shown in FIG. 4, or some other suitable network type. The storage system manager 412 may also communicate with one or more host systems (not shown) through a host interface 414, which may or may not be a part of the storage system manager 412. The storage system manager 412 and/or any other component of the storage system 400 may be implemented in hardware and/or software, and may make use of a processor (not shown) for executing commands of a type known in the art, such as a central processing unit (CPU), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc. Of course, any arrangement of a storage system may be used, as will be apparent to those of skill in the art upon reading the present description.

In more aspects, the storage system 400 may include any number of data storage tiers, and may include the same or different storage memory media within each storage tier. For example, each data storage tier may include the same type of storage memory media, such as HDDs, SSDs, sequential access media (tape in tape drives, optical disk in optical disk drives, etc.), direct access media (CD-ROM, DVD-ROM, etc.), or any combination of media storage types. In one such configuration, a higher storage tier 402, may include a majority of SSD storage media for storing data in a higher performing storage environment, and remaining storage tiers, including lower storage tier 406 and additional storage tiers 416 may include any combination of SSDs, HDDs, tape drives, etc., for storing data in a lower performing storage environment. In this way, more frequently accessed data, data having a higher priority, data needing to be accessed more quickly, etc., may be stored to the higher storage tier 402, while data not having one of these attributes may be stored to the additional storage tiers 416, including lower storage tier 406. Of course, one of skill in the art, upon reading the present descriptions, may devise many other combinations of storage media types to implement into different storage schemes, according to the aspects presented herein.

According to some aspects, the storage system (such as 400) may include logic configured to receive a request to open a data set, logic configured to determine if the requested data set is stored to a lower storage tier 406 of a tiered data storage system 400 in multiple associated portions, logic configured to move each associated portion of the requested data set to a higher storage tier 402 of the tiered data storage system 400, and logic configured to assemble the requested data set on the higher storage tier 402 of the tiered data storage system 400 from the associated portions.

Of course, this logic may be implemented as a method on any device and/or system or as a computer program product, according to various aspects.

Logical Data Corruption

In one aspect, logical data corruption occurs when data storage hardware is intact and working correctly, but stored data is destroyed and/or corrupted on a content level. This may occur as a result of intentional or unintentional data deletion, encryption, and manipulation. For instance, logical data corruption may result from application corruption due to user error, inadvertent or malicious destruction of data, ransomware implementation where data might be encrypted without permission, etc.

In order to address logical data corruption, logical corruption protection (LCP) may need to implement a content-aware solution. For example, safeguarded copy (SGC) implements LCP for data stored in a distributed storage system, and may implement an identification of a logical data corruption event, as well as recovery from such an event.

Exemplary Objectives for Safeguarded Copy

In one aspect, safeguarded copy has the following exemplary objectives:

-   -   Allow creation of many recovery copies across multiple volumes         or storage systems with optimized capacity usage and minimum         performance impact.     -   Enable any previous recovery point to be made available on a set         of recovery volumes while the production environment continues         to run.     -   Secure the data for the safeguarded copies to prevent it from         being accidentally or deliberately compromised.     -   Avoid use of distributed storage system device numbers and host         device addresses.

Safeguarded copy may be distinct from a point in time full volume snapshot of data, which may provide an instantly accessible copy of a production volume, where each copy is independent from the others from a data perspective.

Exemplary Safeguarded Copy Operations

FIG. 5 illustrates an exemplary safeguarded backup configuration 500, according to one exemplary aspect. As shown, safeguarded copy provides functionality to create multiple recovery points 502 for a production volume 504 (e.g., a storage volume such as a source/safeguarded source). These recovery points 502 are called safeguarded Backups (e.g., backups/SG backups). In one aspect, the recovery data is not stored in separate regular volumes, but in a backup storage space 506 that is called a safeguarded backup capacity (SGBC). The backups are not directly accessible by a host. The data may only be used after a backup is recovered to a separate recovery volume 508.

When a recovery point 502 has been restored to the recovery volume 508, it may be accessed using a recovery system 510. This system may or may not be identical to a production system 512, depending on security requirements. Asynchronous data copying/mirroring may be used to restore the data from the recovery system 510 to a production volume 504. The production volume 504 may be located in the same, or in a different, distributed data storage system than the recovery volume 508.

A production environment may consist of hundreds or thousands of volumes 504 across one or more storage systems. An important aspect for logical corruption protection is to provide recovery points that are consistent across all volumes that are part of a backup. These recovery points are called consistency groups (CGs).

Exemplary Backup Management

Safeguarded copy backups may be protected against unintentional or intentional tampering. For example, a user may not create, delete, or recover manually using the distributed storage system management interfaces. An instance of a Copy Services Manager (CSM) may be used to perform these tasks. CSM may use a session concept to manage complete consistency groups.

FIG. 6 illustrates an exemplary CSM safeguarded copy session 600, according to one exemplary aspect. As shown, the session 600 includes a plurality of copy sets 606A-N. There is one copy set for each production volume to be backed up. Each of the plurality of copy sets 606A-N includes the production/source/storage volume 604A-N with an associated safeguarded backup capacity 608A-N (e.g., a backup storage space) and a recovery volume 602A-N. CSM performs actions, like backup and recovery, on the complete session 600. CSM may run these operations automatically using the built-in scheduler.

CSM also manages the lifecycle of backups. A retention period for backups may be specified, and CSM may automatically expire (remove) backups that are not required after the retention period. This may simplify and secure management, and may ensure that consistency is maintained across the session.

Exemplary Safeguarded Backup Capacity

Safeguarded backup capacity 608A-N may be thin provisioned. Small extents may be used for improved efficiency. Without any existing safeguarded backups, the safeguarded backup capacity is pure virtual capacity that is associated with the source volume. Physical storage space is allocated as backups are created, and data that is overwritten in the original volume is saved in the backup. Backup data is saved with track granularity.

A maximum amount of safeguarded backup capacity may be specified for each volume to be backed up. When the specified capacity has been reached, the oldest backups are removed automatically to free up space. As long as any safeguarded backups exist for a given volume, its associated safeguarded backup capacity may be prevented from being deleted. If a storage pool runs short on physical space, regardless of whether it is for backup or production data, the distributed storage system may send notifications according to the pool settings. Safeguarded backups may also be removed automatically by microcode if a storage pool used by safeguarded relations is determined to be running out of physical space (e.g., if an amount of available physical space becomes less than a threshold amount, etc.).

Exemplary Safeguarded Copy Backup

When a safeguarded copy backup is initiated, the distributed storage system creates a consistency group. It sets up metadata and bitmaps in order to track updates to the production volume. After the backup is set up, the distributed storage system copies data, that is to be overwritten by host I/O, from the production volume to a consistency group-logged location within the safeguarded backup capacity.

When the next backup is initiated, the distributed storage system may close the previous backup and may create a new consistency group. Therefore, the system may not have to maintain each backup individually. To restore to a certain recovery point, the distributed storage system needs all backups that are younger than the one to recover.

To minimize the impact of creating a consistency group, the safeguarded copy backup process may consist of three steps:

1. Reservation: In this step, the distributed storage system prepares to create a new safeguarded backup. The system sets up the required bitmaps and prepares the metadata in the safeguarded copy capacity. It also makes sure that all changed data from the previous backup is stored in its consistency group log. After all preparations are done, the actual consistency group formation can take place. 2. Check in: In order to create a consistency group, the distributed storage system has to stop all updates for all volumes within the CG for a short period. It does this by presenting an Extended Long Busy (ELB) state. When the data in cache is consistent, the previous consistency group logs of all affected volumes are closed, and therefore are also consistent. From now on, the distributed storage system will write further backup data into the consistency group logs of the new backup. 3. Completion: The distributed storage system lifts the ELB and write operations can continue. A copy services manager coordinates and performs these steps automatically and with minimum impact to the host operations.

Exemplary Safeguarded Copy Recovery

A user may recover any recovery point to a separate recovery volume. This volume must have at least the same capacity as the production volume, and can be thin provisioned. A user may perform the recovery with a background copy or without. A user may specify a no copy command if they need the recovered data only for a limited period of time, and a copy command if they intend to use it for a longer period of time. The user may initiate a safeguarded copy recovery through CSM.

FIG. 7 illustrates an exemplary safeguarded copy configuration 700, according to one exemplary aspect. As shown, the safeguarded copy configuration 700 includes a production volume 702 (e.g., a storage volume), a recovery volume 704, and four safeguarded backups (e.g., consistency group logs t1 706A-t4 706D, with t4 being the most recent) representing four recovery points that are stored within a backup storage space. In one aspect, a recovery may be made to a point in time t2, with a no copy option. The recovery includes the following steps:

1. The distributed storage system establishes a point in time snapshot of data from the production volume 702 to the recovery volume 704. This makes the recovery volume 704 identical to the production volume 702.

2. The distributed storage system then creates a recovery bitmap 708 that indicates all data that was changed since time t2 and must be referenced from the consistency group logs t4 706D, t3 706C, and t2 706B, rather than from the production volume 702.

From this point, read and write access may be performed using the recovery volume 704. If a recovery system 710 reads data from the recovery volume 704, the distributed storage system examines the recovery bitmap 708 and decides whether it must fetch the requested data from the production volume 702 or from one of the consistency group logs t1 706A-t4 706D. In case the same track shows up in more than one backup, the system may use the “oldest” instance (the one closest to recovery point t2 706B).

If the recovery system 710 writes to the recovery volume 704, one of two cases may occur:

-   -   Full track write: the distributed storage system can write         directly to the recovery volume 704 without considering existing         data     -   Partial track write: the distributed storage system has to fetch         existing data first, according to the rules above, and then can         apply the update.

If the recovery is performed with a background copy, the distributed storage system copies all data from the production volume 702 and the consistency group logs t1 706A-t4 706D to the recovery volume 704 in the background, following the same rules. You can access the recovery volume 704 at any time while the background copy is still running.

In cases where data is restored back to the original production volume 702, several choices are available:

-   -   Full volume restore: Global Copy may be used to replicate the         data from the recovery volume 704 to the production volume 702.         The production volume 702 can be on the same or a different         distributed storage system as the recovery volume 704.     -   Selective restore: either the production volume 702 is made         available to the recovery system 710, or the recovery volume 704         is made available to the production system 712. Then standard         operating system or application methods may be used to copy         needed data from the recovery volume 704 to the production         volume 702.

Now referring to FIG. 8, a flowchart of a method 800 is shown according to one aspect. The method 800 may be performed in accordance with the present invention in any of the environments depicted in FIGS. 1-7 and 10, among others, in various aspects. Of course, more or less operations than those specifically described in FIG. 8 may be included in method 800, as would be understood by one of skill in the art upon reading the present descriptions.

Each of the steps of the method 800 may be performed by any suitable component of the operating environment. For example, in various aspects, the method 800 may be partially or entirely performed by one or more servers, computers, or some other device having one or more processors therein. The processor, e.g., processing circuit(s), chip(s), and/or module(s) implemented in hardware and/or software, and preferably having at least one hardware component may be utilized in any device to perform one or more steps of the method 800. Illustrative processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

As shown in FIG. 8, method 800 may initiate with operation 802, where a request is received to increase a size of a backup storage space for a storage volume. In one aspect, the storage volume may be included within an interconnected storage system (e.g., a distributed data storage system, etc.). In another aspect, the storage volume may be included within a single device (e.g., within a single disk operating system (DOS), etc.). In yet another aspect, the storage volume may include one or more tangible storage drives.

Additionally, in one aspect, the backup storage space may be created as part of a logical corruption protection (LCP) implementation for data within the storage volume. For example, the LCP implementation may create data backups (e.g., recovery points) for the storage volume. For instance, each data backup may include a point-in-time snapshot of predetermined data within the storage volume. In another example, each data backup may be associated with a specific time/date that the snapshot was taken. In yet another example, data backups may be created periodically according to a predetermined schedule.

Further, in one aspect, the LCP implementation may store the recovery points in the backup storage space, where the backup storage space is not accessible by a host utilizing the storage volume. In another aspect, in response to the occurrence of one or more errors within the storage volume, the recovery points may be restored to a recovery volume separate from the storage volume. In yet another aspect, the recovery volume may be accessed by a recovery system separate from a system that implements the storage volume. Data may then be restored from the recovery system to the storage volume.

Further still, in one aspect, the backup storage space may include data storage that is physically and/or logically separate from the storage volume. In another aspect, the backup storage space may be located within the same physical device as the storage volume. In yet another aspect, the backup storage space may be located within a different physical device from the storage volume. In still another aspect, the backup storage space and the storage volume may both include physical data storage (e.g., one or more tangible data storage drives, etc.).

Also, in one aspect, the backup storage space may also be known as a backup capacity, a safeguarded backup capacity, etc. In another aspect, the storage volume may also be known as a host volume, a production volume, etc. In yet another aspect, an initial size of the backup storage space may be determined when the backup storage space is created as part of the LCP implementation. For example, the initial size of the backup storage space may be a predetermined multiple of the size of the storage volume.

In addition, in one aspect, the request may be received in response to a manual user request. In another aspect, the request may be received in response to a determination that a number and/or frequency of data backups is to be increased. In yet another aspect, the request may be generated automatically based on a monitoring of parameters for the backup storage space and/or the storage volume.

For example, a management application may monitor parameters for the backup storage space and the storage volume. In another example, the parameters may include a capacity usage threshold (e.g., a threshold amount of the backup storage space that is currently used). In yet another example, the parameters may include a multiplier increment amount (e.g., an amount by which a multiplier is increased, etc.).

In another example, the parameters may include a multiplier limit (e.g., a maximum multiplier allowed, etc.). In yet another example, the multiplier may indicate a size of backup storage space with respect to a size of the storage volume to be protected. For instance, a multiplier of two for a storage volume may indicate that a size of the backup storage space for such storage volume is to be twice the size of the storage volume.

In yet another example, the management application may automatically generate a request to increase the size of the backup storage space for the storage volume by the multiplier increment amount in response to determining that an amount of the backup storage space that is currently used exceeds the capacity usage threshold. In still another example, size increase requests may be gradually increased via the multiplier increment amount until the multiplier limit is reached.

Furthermore, method 800 may proceed with operation 804, where additional extents are added to the backup storage space in response to the request. In one aspect, extents may include predetermined data storage locations within tangible data storage hardware used by the backup storage space. In another aspect, the extents may have a uniform, predetermined size, or the size of the extents may vary.

Further still, in one aspect, the backup storage space may be represented as a series of adjacent extents in a predetermined order. In another aspect, the additional extents may be added to the end of the series of adjacent extents in the predetermined order. In still another aspect, the additional extents may be added by allocating additional data storage locations within tangible data storage hardware to be used by the backup storage space.

Also, method 800 may proceed with operation 806, where a current extent location is identified within the backup storage space. In one aspect, the current extent location may include a location where the next data backup is to be stored within the backup storage space. In another aspect, the current extent location may be determined according to a rolling buffer methodology.

For example, the backup storage space may include a plurality of adjacent extent locations situated in the predetermined order. After a current extent location is filled with a data backup (e.g., according to a data backup schedule, etc.), the next adjacent extent location in the predetermined order is selected. In another example, the rolling buffer methodology may dictate that, within the backup storage space, when the last extent location within the predetermined order is filled with a data backup, the first extent location in the predetermined order is selected as the next extent location to be filled. This may create a circular buffer within the backup storage space.

Additionally, in one aspect, when an extent location is being filled with a new data backup, in response to determining that the extent location is filled with a previous data backup, the previous data backup is removed/expired, and the new data backup is stored in the extent location.

Further, method 800 may proceed with operation 808, where it is determined whether any filled extent locations exist between the current extent location and the additional extents added to the backup storage space. In one aspect, it may be determined if any filled intermediate extents exist, where the filled intermediate extents include extents that currently store a data backup and which are located in the predetermined order between the current extent location and the first additional extent location added to the backup storage space. In another aspect, these filled intermediate extents may need to expire before the current extent location reaches the additional extents added to the backup storage space.

Further still, method 800 may proceed with operation 810, where the additional extents added to the backup storage space are conditionally utilized, based on the determining. In one aspect, in response to identifying an existence of one or more filled intermediate extents in the predetermined order between the current extent location and the first additional extent location, the backup storage space may be labelled as being in an expansion state.

For example, the backup storage space may be labelled as being in an expansion state by adjusting metadata of the backup storage space, setting one or more flags within the backup storage space, etc.

Also, in one aspect, in response to determining that the backup storage space is labeled as being in an expansion state, use of the additional extents added to the backup storage space may be prevented, and a notification may be sent (e.g., to one or more users, one or more applications, etc.) that the additional extents added to the backup storage space are not ready to be used, and can be used only after one or more filled intermediate extents have expired. In another aspect, the filled intermediate extents that need to expire may be presented to the user, and the user may be given an option to manually expire the filled intermediate extents.

Additionally, in one aspect, the user may also be given an option to let the filled intermediate extents expire according to the backup schedule and rolling buffer methodology (e.g., as new data backups replace the data backups stored within the intermediate extents, etc.). In another aspect, once it is determined that all the filled intermediate extents have expired, the expansion state label may be removed from the backup capacity.

Furthermore, in one aspect, in response to determining that the backup capacity is not labeled as being in an expansion state (e.g., no flag is set/one or more filled intermediate extents do not exist between the current extent location and the first additional extent location), use of the additional extents added to the backup storage space may be allowed, and a notification may be sent to one or more users that the additional extents are ready to be used. In another aspect, the additional extents may then be used to store data backups with the original extents of the backup storage space according to the rolling buffer methodology.

Further still, in one aspect, multiple different backup storage spaces may exist for multiple different storage volumes within a single safeguarded capacity session. For example, filled intermediate extents may be identified for each of the multiple backup storage spaces, and may affect the use of additional extents added to the backup storage spaces, as shown above.

Also, in one aspect, all of the above operations may be performed by one or more of a tangible system including the storage volume, by the storage volume itself, or by a system separate from the storage volume.

In this way, a size of a backup storage space for a storage volume may be increased without having to first delete the entire backup storage space (and all stored data backups) and construct a new backup storage space with a new size. This may reduce an amount of processing necessary to expand the backup storage space, which may improve a performance of one or more tangible computing devices implementing such expansion.

Additionally, while adding additional extents to the backup storage space, access to the original extents of the backup storage space may still be permitted. This may allow the storage of periodic data volume backups, and may ensure that an LCP implementation is still being applied to data within the storage volume, during the backup storage space expansion. As a result, data within the storage volume may be protected from data corruption/loss during the backup storage space expansion, which may prevent data loss and may further improve a performance of one or more tangible computing devices that utilize the storage volume.

Now referring to FIG. 9, a flowchart of a method 900 for automating management of a backup storage space is shown according to one aspect. The method 900 may be performed in accordance with the present invention in any of the environments depicted in FIGS. 1-7 and 10, among others, in various aspects. Of course, more or less operations than those specifically described in FIG. 9 may be included in method 900, as would be understood by one of skill in the art upon reading the present descriptions.

Each of the steps of the method 900 may be performed by any suitable component of the operating environment. For example, in various aspects, the method 900 may be partially or entirely performed by one or more servers, computers, or some other device having one or more processors therein. The processor, e.g., processing circuit(s), chip(s), and/or module(s) implemented in hardware and/or software, and preferably having at least one hardware component may be utilized in any device to perform one or more steps of the method 900. Illustrative processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

As shown in FIG. 9, method 900 may initiate with operation 902, where a current usage of a backup storage space for a storage volume is monitored. In one aspect, monitoring the current usage of the backup storage space may include determining a total number of extent locations within the backup storage space that are currently filled with data backups. In another aspect, the current usage may include a total percentage of extent locations that are currently filled with data backups.

Additionally, method 900 may proceed with operation 904, where the current usage is compared to a capacity threshold. In one aspect, the capacity threshold may be stored in metadata as one of a plurality of parameters for the backup storage space. In another aspect, the parameters may include a capacity usage threshold (e.g., a threshold amount of the backup storage space that is currently used).

Further, method 900 may proceed with operation 906, where a size of the backup storage space is conditionally increased, based on the comparing and a predetermined size limitation. In one aspect, the parameters for the backup storage space may also include a multiplier increment amount (e.g., an amount by which a multiplier is increased, etc.). In another aspect, the parameters may include a predetermined size limitation, such as a multiplier limit (e.g., a maximum multiplier allowed within the backup storage space, etc.).

Further still, in one aspect, the multiplier may indicate a size of backup storage space to be created with respect to a size of the storage volume to be protected. For example, a multiplier of two for a storage volume may indicate that a size of the backup storage space for such storage volume is to be twice the size of the storage volume. In another aspect, a request to increase the size of the backup storage space for the storage volume by the multiplier increment amount may be automatically generated in response to determining that the current usage exceeds the capacity threshold. Over time, size increase requests may be gradually increased via the multiplier increment amount until the multiplier limit is reached.

In this way, a size of a backup storage space may be dynamically adjusted for a storage volume. This may ensure that the backup storage space is large enough to support a sufficient number of data backups for the storage volume as part of an LCP implementation. As a result, data protection of the storage volume from data corruption/loss may be ensured, which may further improve a performance of one or more tangible computing devices that utilize the storage volume.

FIG. 10 illustrates an exemplary expanded storage environment 1000, according to one exemplary aspect. As shown, a backup storage space 1002 provides backup storage for a storage volume 1004. For example, the backup storage space 1002 may be created as part of a logical corruption protection (LCP) implementation for data within the storage volume 1004.

Additionally, on a periodic basis, a data backup may be created for the storage volume 1004 and may be stored in one of the original extents 1006A-E of the backup storage space 1002. The original extents 1006A-E may be in a predetermined order from a first original extent 1006A to a last original extent 1006E, and may be filled according to a rolling buffer methodology. For example, before the addition of the additional extents 1008A-D, after a first original extent 1006A is filled with a data backup (e.g., according to a backup schedule, etc.), the next adjacent original extent 1006B is selected to be filled according to the predetermined order.

Further, the rolling buffer methodology may dictate that, within the backup storage space 1002, after the last original extent 1006E within the predetermined order is filled with a data backup, the first original extent 1006A in the predetermined order is selected as the next extent location to be filled.

Also, in response to a request to increase a size of the backup storage space 1002, additional extents 1008A-D may be added to the backup storage space 1002. In one aspect, in response to the addition of additional extents 1008A-D to the backup storage space, a current extent 1006C may be determined within the backup storage space 1002.

Further still, it may then be determined that intermediate extents 1006D and 1006E exist between the current extent 1006C and the first additional extent 1008A of the backup expansion 1010. It may also be determined that these intermediate extents 1006D and 1006E are filled and need to expire before the additional extents 1008A-D may be used within the backup storage space 1002. In response to identifying the filled intermediate extents 1006D and 1006E, the backup storage space 1002 may be labelled as being in an expansion state.

In response to determining that the backup storage space 1002 is labeled as being in an expansion state, use of the additional extents 1008A-D may be prevented, and a notification may be sent that the additional extents 1008A-D are not ready to be used, and can be used only after the filled intermediate extents 1006D and 1006E have expired.

A user may be given an option to manually expire the filled intermediate extents 1006D and 1006E. The user may also be given an option to let the filled intermediate extents 1006D and 1006E expire according to a preexisting data backup schedule and rolling buffer methodology.

Once it is determined that the filled intermediate extents 1006D and 1006E have expired, the expansion state label may be removed from the backup storage space 1002. In response to determining that the backup storage space 1002 is not labeled as being in an expansion state, use of the additional extents 1008A-1008D may be allowed, and a notification may be sent to one or more users that the additional extents 1008A-1008D are ready to be used.

The additional extents 1008A-1008D may then be used to store data backups with the original extents 1006A-1006E as part of the backup storage space 1002, according to the rolling buffer methodology.

Safeguarded Capacity Expansion

While running Safeguarded Copy (SGC), a user may require increasing a number of backups, which will require increasing their safeguarded capacity.

However, the process to increase the safeguarded capacity requires removing the safeguarded backups and deleting the safeguarded backup volume. Then the user will need to create the safeguarded backup volume to the new desired size and restart the safeguarded backups. Additionally, due to the complexity of the layout of user data on the backup, just increasing the safeguarded backup volume will not allow immediate use of the new space.

In response, an updated design will allow the user to issue one command to increase the safeguarded capacity and the user will be notified when the new space will be available to be used. The user can continue running their safeguarded sessions while they are waiting to be notified when the new space will be available for use.

SGC uses a rolling buffer mechanism to copy tracks (customer and metadata) to the backup volume. This keeps each safeguarded backup continuous on the backup volume. After adding new space at the end of the volume, using the new space can cause the tracks and the safeguarded backups to be sporadic, if the backups are in a wraparound case.

The new design will allow the expansion command to be executed and the backup volume size to be increased. The SGC will not use the new expanded area until the safeguarded backup volume is not in the wrap around case. During the expansion command:

-   -   If the safeguarded backup volume is in the wrap around case,         then a flag will be set on the safeguarded volume that states         that it is in the expansion state. That the expanded capacity         will not be used.     -   If the safeguarded backup volume is not in the wrap around case,         then no flag is set, and a notification is sent to an NI (e.g.,         a system component that reports information/events to the user)         that safeguarded volume is ready to be used for future backups.

While in the expanding state, a backup relationships query will show which backups need to be expired in order to use the new expanding area, and a volume storage status query will show if the safeguarded volume is in expanding state. Once all the backups are expired to get out of the expanding state, a notification is sent to the NI to let the user know the safeguarded expanded area is ready to be used. The backup relationships query and the volume storage status query will not show the “expanding state.”

Automating Management of Safeguarded Copy Virtual Capacity

With the variety of workloads and hosts, some volumes in a safeguarded (SFG) session may only require two to three multiples of virtual capacity on the SFG volume. In some volumes in the SFG session, nine to ten multiples of virtual capacity may be required on the SFG volume. The amount of data to SFG source volumes could also change over time.

Managing the multiplier values manually can be difficult, if not impossible, with many SFG volumes to monitor. As a result, a method to automate the process may be useful for users with large safeguarded environments.

In one aspect, parameters of the virtual capacity of the volume may be monitored, and depending on the values of such parameters, the Safeguarded volume may be automatically expanded when necessary.

To avoid a requirement to set significantly higher values for all volumes, an increase for outlier volumes may be automatically/dynamically adjusted to proactively increase the value before backups start to expire due to lack of virtual capacity. This may reduce or even eliminate a number of backups that expire before the increase becomes active.

In one aspect, the parameters that are monitored may include (per storage volume/corresponding backup storage space):

-   -   Capacity Usage Threshold—percentage of capacity above which         multiplier is increased     -   Multiplier Increment—increment by which the multiplier is         increased—could be % or int     -   Multiplier Limit—maximum multiplier allowed

According to a predetermined interval or event, a current environment (per storage volume/corresponding backup storage space) may be monitored as follows:

1. Determine if there are any volumes above the Capacity Usage Threshold

2. If any volumes are above the threshold, then check if the multiplier is below the Multiplier Limit

3. If the multiplier is below the Multiplier Limit, then incrementally increase the Backup Capacity Multiplier (the multiplier that dictates the size of the backup storage space as a multiple of the corresponding storage volume), potentially by multiple increments

One exemplary implementation is as follows:

The current parameters for an exemplary storage volume and corresponding backup storage space include:

-   -   Capacity Usage Threshold is 50%     -   Multiplier Increment is 1     -   Multiplier Limit is 6     -   Each backup is approximately 1 GB of data.

An exemplary management of such storage volume/corresponding backup storage space includes the following (assuming a preexisting knowledge of a size of a production volume):

1. Current backup capacity multiplier is 3.

2. Safeguarded backups 1 and 2 are created.

3. Monitor parameters, see the Virtual Capacity usage reach 50%.

-   -   A. Expansion command is issued to increase the Backup Capacity         to 4. No expansion state is in progress.     -   B. Current backup capacity multiplier is 4.         4. Safeguarded backups 3-8 created. Now backups 1-5 expire         internally.         5. Monitor parameters, see the Virtual Capacity usage reach 50%.     -   A. Expansion command issued to increase the Backup Capacity         to 5. Expansion state in progress set.     -   B. Current backup capacity multiplier is 5.         6. Safeguarded backups 9-10 are created. Now backups 6-7 are         expired internally.     -   A. After the expiration of backup 7, no expansion state is in         progress.         7. Safeguarded backups 11-13 are created. Now backups 7-9 are         expired internally.         8. Monitor parameters, see the Virtual Capacity usage reach 50%.     -   A. Expansion command is issued to increase the Backup Capacity         to 6. No expansion state in progress.     -   B. Current backup capacity multiplier is 6.         9. Continue to create backups. After this point the backup         capacity cannot be increased because the Multiplier Limit is         reached.

The new parameters can be policies set in safeguarded management software (e.g., CSM, GDPS, etc.). The policy can cover a safeguarded session. In a new safeguarded copy implementation for an existing environment where the workload on the volumes is steady, the backup multiplier increase may happen before the log buffer wraps around in the virtual capacity.

If there is a gradual increase in workload for a volume, having a sufficiently low Capacity Usage Threshold may result in a multiplier increase that becomes effective before the virtual capacity is exhausted. If an inactive volume suddenly sees a significant increase in workload, one or more backups may expire before the multiplier increase becomes effective for a limited period of time.

In one aspect, a method performing automated backup copy volume expansion is provided, where the method includes configuring a capacity usage threshold, a multiplier increment, and a multiplier limit in storage management software of a backup copy system. Additionally, the method includes determining that a backup copy volume is above a capacity usage threshold.

Further, the method includes determining that a multiplier for the backup copy volume is below a multiplier limit. Further still, the method includes issuing an expansion command to increase the backup capacity by the multiplier increment. Also, the method includes internally expiring old backup copy volumes.

The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.

The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.

Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.

Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some aspects, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to aspects of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various aspects of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

Moreover, a system according to various aspects may include a processor and logic integrated with and/or executable by the processor, the logic being configured to perform one or more of the process steps recited herein. By integrated with, what is meant is that the processor has logic embedded therewith as hardware logic, such as an application specific integrated circuit (ASIC), a FPGA, etc. By executable by the processor, what is meant is that the logic is hardware logic; software logic such as firmware, part of an operating system, part of an application program; etc., or some combination of hardware and software logic that is accessible by the processor and configured to cause the processor to perform some functionality upon execution by the processor. Software logic may be stored on local and/or remote memory of any memory type, as known in the art. Any processor known in the art may be used, such as a software processor module and/or a hardware processor such as an ASIC, a FPGA, a central processing unit (CPU), an integrated circuit (IC), a graphics processing unit (GPU), etc.

It will be clear that the various features of the foregoing systems and/or methodologies may be combined in any way, creating a plurality of combinations from the descriptions presented above.

It will be further appreciated that aspects of the present invention may be provided in the form of a service deployed on behalf of a customer to offer service on demand.

The descriptions of the various aspects of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the aspects disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described aspects. The terminology used herein was chosen to best explain the principles of the aspects, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the aspects disclosed herein. 

What is claimed is:
 1. A computer-implemented method, comprising: receiving a request to increase a size of a backup storage space for a storage volume; adding additional extents to a series of extents within the backup storage space in response to the request; identifying a predetermined extent location within the series of extents within the backup storage space; determining whether any extent locations currently storing a data backup exist between the predetermined extent location and a location of the additional extents added to the backup storage space; and conditionally preventing a use of the additional extents added to the backup storage space, based on the determining.
 2. The computer-implemented method of claim 1, wherein an initial size of the backup storage space is determined when the backup storage space is created.
 3. The computer-implemented method of claim 1, wherein the request is generated automatically based on a monitoring of parameters for the backup storage space and the storage volume, the parameters including: a capacity usage threshold, a multiplier increment amount, and a multiplier limit.
 4. The computer-implemented method of claim 1, wherein the backup storage space is represented as a series of adjacent extents in a predetermined order, and the additional extents are added to the end of the series of adjacent extents in the predetermined order.
 5. The computer-implemented method of claim 1, wherein the predetermined extent location includes a location where the next data backup is to be stored within the backup storage space.
 6. The computer-implemented method of claim 1, wherein the predetermined extent location is determined according to a rolling buffer methodology.
 7. The computer-implemented method of claim 1, comprising determining if any filled intermediate extents exist, where the filled intermediate extents include extents that currently store a data backup and which are located in a predetermined order between the current extent location and a first additional extent location added to the backup storage space.
 8. The computer-implemented method of claim 1, comprising, in response to identifying an existence of one or more filled intermediate extents in a predetermined order between the current extent location and a first additional extent location, labelling the backup storage space as being in an expansion state.
 9. The computer-implemented method of claim 8, comprising in response to determining that the backup storage space is labeled as being in an expansion state, preventing the use of the additional extents added to the backup storage space, and sending a notification that the additional extents added to the backup storage space are not ready to be used, and can be used only after one or more filled intermediate extents have expired.
 10. The computer-implemented method of claim 8, comprising presenting the filled intermediate extents that need to expire to a user, and providing the user an option to manually expire the filled intermediate extents.
 11. The computer-implemented method of claim 8, comprising presenting the filled intermediate extents that need to expire to a user, and providing the user an option to let the filled intermediate extents expire according to a backup schedule and a rolling buffer methodology.
 12. A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising instructions configured to cause one or more processors to perform a method comprising: receiving, by the one or more processors, a request to increase a size of a backup storage space for a storage volume; adding, by the one or more processors, additional extents to a series of extents within the backup storage space in response to the request; identifying, by the one or more processors, a predetermined extent location within the series of extents within the backup storage space; determining, by the one or more processors, whether any extent locations currently storing a data backup exist between the predetermined extent location and a location of the additional extents added to the backup storage space; and conditionally preventing, by the one or more processors, a use of the additional extents added to the backup storage space, based on the determining.
 13. The computer program product of claim 12, wherein an initial size of the backup storage space is determined when the backup storage space is created.
 14. The computer program product of claim 12, wherein the request is generated automatically based on a monitoring of parameters for the backup storage space and the storage volume, the parameters including: a capacity usage threshold, a multiplier increment amount, and a multiplier limit.
 15. The computer program product of claim 12, wherein the backup storage space is represented as a series of adjacent extents in a predetermined order, and the additional extents are added to the end of the series of adjacent extents in the predetermined order.
 16. The computer program product of claim 12, wherein the predetermined extent location includes a location where the next data backup is to be stored within the backup storage space.
 17. The computer program product of claim 12, wherein the predetermined extent location is determined according to a rolling buffer methodology.
 18. The computer program product of claim 12, wherein the method comprises determining, by the one or more processors, if any filled intermediate extents exist, where the filled intermediate extents include extents that currently store a data backup and which are located in a predetermined order between the current extent location and a first additional extent location added to the backup storage space.
 19. The computer program product of claim 12, wherein the method comprises, in response to identifying an existence of one or more filled intermediate extents in a predetermined order between the current extent location and a first additional extent location, labelling, by the one or more processors, the backup storage space as being in an expansion state.
 20. The computer program product of claim 19, wherein the method comprises in response to determining that the backup storage space is labeled as being in an expansion state, preventing, by the one or more processors, use of the additional extents added to the backup storage space, and sending a notification that the additional extents added to the backup storage space are not ready to be used, and can be used only after one or more filled intermediate extents have expired.
 21. The computer program product of claim 19, wherein the method comprises presenting, by the one or more processors, the filled intermediate extents that need to expire to a user, and providing the user an option to manually expire the filled intermediate extents.
 22. The computer program product of claim 19, wherein the method comprises presenting, by the one or more processors, the filled intermediate extents that need to expire to a user, and providing the user an option to let the filled intermediate extents expire according to a backup schedule and a rolling buffer methodology.
 23. A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: receive a request to increase a size of a backup storage space for a storage volume; add additional extents to a series of extents within the backup storage space in response to the request; identify a predetermined extent location within the series of extents within the backup storage space; determine whether any extent locations currently storing a data backup exist between the predetermined extent location and a location of the additional extents added to the backup storage space; and conditionally prevent a use of the additional extents added to the backup storage space, based on the determining. 